# -*- coding: utf-8 -*-
# @Time: 2023/4/20 16:18
# @File: cmsapi_test.py
# @Desc:
import requests

headers = {
    "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTY4MTk5NDUxMiwianRpIjoiYWRjYjJjNDItM2E5Zi00YTM3LTkzOTItZjhmZTJlYzBiODdhIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6ImVzemVwWEdNb0thaENyaWY5MjRlekgiLCJuYmYiOjE2ODE5OTQ1MTIsImV4cCI6MTY4MjU5OTMxMn0.M06mirHW2aCefXOvdoZFTZv_HtPgg0guGHJHuZT0Fps"
}
response = requests.get("http://127.0.0.1:5000/cmsapi/", headers=headers)
print(response.text)
